<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
﻿<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<LINK href="js/dtreejs/dtree.css" type=text/css rel=StyleSheet>
<SCRIPT src="js/dtreejs/dtree.js" type=text/javascript></SCRIPT>
<style>
body { margin: 0px; overflow:hidden }
</style>
</head>
<body scroll="no">
<TABLE cellSpacing=0 cellPadding=0 width=192 border=0>
  <TBODY>
    <TR>
      <TD vAlign=top align=left  >
      <div style="overflow-y:scroll;height:100%; width:100%">
		  <SCRIPT type=text/javascript>
							d= new dTree('d');
							d.add(0,-1,'管理中心');
							<s:iterator value="resourceList" id="resource" status="i">
								d.add(<s:property value="#resource.resourceId"/>,<s:property value="#resource.parentId"/>,'<s:property value="#resource.title"/>','<s:property value="#resource.url"/>','<s:property value="#resource.remark"/>','mainFrame');
							</s:iterator>
							document.write(d);
							d.openAll();
						</SCRIPT>
      </div></TD>
    </TR>
  </TBODY>
</TABLE>
 
</body>
</html>